﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using KPIS.GERP.GBMS.DAL;

namespace KPIS.GERP.GBMS.BLL
{
    public class UserBLL
    {
        UserDAL DAL = new UserDAL();
        public DataSet Login(string UserName, string Password)
        {
            try
            {
                return DAL.Login(UserName, Password);
            }
            catch
            {
                throw;  
            }
        }
        public DataSet LoginByUserSeq(string UserSeq)
        {
            try
            {
                return DAL.LoginByUserSeq(UserSeq);
            }
            catch
            {
                throw;
            }
        }

        public string GetUserFullNameByEmpSeq(int empSeq)
        {
            try
            {
                return DAL.GetUserFullNameByEmpSeq(empSeq);
            }
            catch
            {
                throw;
            }
        }
    }
}
